#ifndef _TRANSCODEING_H_
#define _TRANSCODEING_H_

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>

// 将 UTF-8 编码的字符串转换为 UCS-2 编码的字符串
int utf8_to_ucs2(const unsigned char *in, unsigned short *out, int max_out_len);

#endif
